// 导出路由规则
import Layout from '@/layout'

export default {
  path: '/shop',
  name: 'shop',
  component: Layout, // 给路由规则加名字
  redirect: '/shop', // 组件
  meta: {
    title: '商城管理',
    icon: 'shop'
  },
  // 配置二级路由表
  children: [{
    path: 'fuwuproduct',
    name: 'fuwuproduct',
    component: () => import('@/views/shop/fuwuproduct'),
    meta: { title: '服务商品', noCache: true }
  }, {
    path: 'product',
    name: 'product',
    component: () => import('@/views/shop/product'),
    meta: { title: '商品管理', noCache: true }
  }, {
    path: 'productCate',
    name: 'productCate',
    component: () => import('@/views/shop/productCate'),
    meta: { title: '分类管理', noCache: true }
  }, {
    path: 'ShopGroup',
    name: 'ShopGroup',
    component: () => import('@/views/shop/ShopGroup'),
    meta: { title: '商品分组', noCache: true }
  }, {
    path: 'region',
    name: 'region',
    component: () => import('@/views/shop/region'),
    meta: { title: '服务区域', noCache: true }
  }, {
    path: 'fuwuShop',
    name: 'fuwuShop',
    component: () => import('@/views/shop/fuwuShop'),
    meta: { title: '服务项目', noCache: true }
  }, {
    path: 'opinion',
    name: 'opinion',
    component: () => import('@/views/shop/opinion'),
    meta: { title: '意见反馈', noCache: true }
  }]
}
